package com.naiterui.ehp.bs.b2c.cart.vo;

import java.util.Date;

import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author guoyongxiang
 * @date 2019-05-13 13:51
 * @since 1.0.0
 */
@Data
public class CartItemVO {

    @ApiModelProperty(value = "购物车itemId")
    private Long itemId;

    @ApiModelProperty(value = "skuId")
    private Long skuId;

    @ApiModelProperty(value = "商品全称(厂商 通用名 规格)")
    private String fullName;

    @ApiModelProperty(value = "商品图标")
    private String icon;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @Fen2Yuan
    @ApiModelProperty(value = "售价")
    private Integer salePrice;

    @ApiModelProperty(value = "是否处方药(0:非处方, 1:处方)")
    private Integer rx;

    @ApiModelProperty(value = "商品状态(0:下架, 1:正常)")
    private Integer status;

    @ApiModelProperty(value = "商品状态(0:缺货, 1:正常)")
    private Integer stockStatus;

    @ApiModelProperty(value = "勾选状态(0:未勾选, 1:勾选)")
    private Integer selected;

    private Date createdAt;

}
